package cn.tedu._egmybatis1.mapper;

import cn.tedu._egmybatis1.pojo.entity.Product;
import cn.tedu._egmybatis1.pojo.vo.ProductVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.jmx.export.annotation.ManagedAttribute;

import java.util.List;

@Mapper
public interface ProductMapper {
    int insertProduct(Product product);

    ProductVO selectSingleProduct(Integer id);

    int deleteById(Integer id);

    int deleteByIds(List<Long> ids);

}
